(() => {
    let obj = {
        name: "sss",
        age: 1,
    };
    let obj1 = {
        name: "aaa",
        age: 2,
        gender: "male",
        sayHello() {
            console.log("hello");
        },
    };
    //实现接口
    class Myclass {
        constructor() {
            this.name = '孙悟空';
            this.age = 18;
            this.gender = 'male';
        }
        sayHello() {
            console.log("嘿嘿");
        }
    }
})();
